﻿<%@ Page Title="supplyPlan" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="Maticsoft.Web.supplyPlan.List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script language="javascript" src="/js/CheckBox.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<!--Title -->

            <!--Title end -->

            <!--Add  -->

            <!--Add end -->

            <!--Search -->
            <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
                <tr>
                    <td style="width: 80px" align="right" class="tdbg">
                         <b>关键字：</b>
                    </td>
                    <td class="tdbg">                       
                    <asp:TextBox ID="txtKeyword" runat="server"></asp:TextBox>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnSearch" runat="server" Text="查询"  OnClick="btnSearch_Click" >
                    </asp:Button>                    
                        
                    </td>
                    <td class="tdbg">
                    </td>
                </tr>
            </table>
            <!--Search end-->
            <br />
            <asp:GridView ID="gridView" runat="server" AllowPaging="True" Width="100%" CellPadding="3"  OnPageIndexChanging ="gridView_PageIndexChanging"
                    BorderWidth="1px" DataKeyNames="supplyPlanId" OnRowDataBound="gridView_RowDataBound"
                    AutoGenerateColumns="false" PageSize="10"  RowStyle-HorizontalAlign="Center" OnRowCreated="gridView_OnRowCreated">
                    <Columns>
                    <asp:TemplateField ControlStyle-Width="30" HeaderText="选择"    >
                                <ItemTemplate>
                                    <asp:CheckBox ID="DeleteThis" onclick="javascript:CCA(this);" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField> 
                            
		<asp:BoundField DataField="purchaseid" HeaderText="purchaseid" SortExpression="purchaseid" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="proid" HeaderText="proid" SortExpression="proid" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="projectId" HeaderText="projectId" SortExpression="projectId" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="bidid" HeaderText="bidid" SortExpression="bidid" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="usework" HeaderText="usework" SortExpression="usework" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="supplyDate" HeaderText="supplyDate" SortExpression="supplyDate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="mid" HeaderText="mid" SortExpression="mid" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="technicalDataStatus" HeaderText="technicalDataStatus" SortExpression="technicalDataStatus" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="technicalDataStatusDate" HeaderText="technicalDataStatusDate" SortExpression="technicalDataStatusDate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="supplyDateStatus" HeaderText="supplyDateStatus" SortExpression="supplyDateStatus" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="supplyDateStatusDate" HeaderText="supplyDateStatusDate" SortExpression="supplyDateStatusDate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="arrivalCount" HeaderText="arrivalCount" SortExpression="arrivalCount" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="contractdate" HeaderText="contractdate" SortExpression="contractdate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="fristCheckedCount" HeaderText="fristCheckedCount" SortExpression="fristCheckedCount" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="instoreCount" HeaderText="instoreCount" SortExpression="instoreCount" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="arrivalEvaluationStatus" HeaderText="arrivalEvaluationStatus" SortExpression="arrivalEvaluationStatus" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="arrivalEvaluationStatusDate" HeaderText="arrivalEvaluationStatusDate" SortExpression="arrivalEvaluationStatusDate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="outstoreCount" HeaderText="outstoreCount" SortExpression="outstoreCount" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="installationStatus" HeaderText="installationStatus" SortExpression="installationStatus" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="installationStatusDate" HeaderText="installationStatusDate" SortExpression="installationStatusDate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="putOperationStatus" HeaderText="putOperationStatus" SortExpression="putOperationStatus" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="putOperationStatusDate" HeaderText="putOperationStatusDate" SortExpression="putOperationStatusDate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="putOperationEvaluationStaus" HeaderText="putOperationEvaluationStaus" SortExpression="putOperationEvaluationStaus" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="putOperationEvaluationStausDate" HeaderText="putOperationEvaluationStausDate" SortExpression="putOperationEvaluationStausDate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="warrantyStatus" HeaderText="warrantyStatus" SortExpression="warrantyStatus" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="warrantyStatusDate" HeaderText="warrantyStatusDate" SortExpression="warrantyStatusDate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="winBid" HeaderText="winBid" SortExpression="winBid" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="warrantyEvaluationStaus" HeaderText="warrantyEvaluationStaus" SortExpression="warrantyEvaluationStaus" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="warrantyEvaluationStausDate" HeaderText="warrantyEvaluationStausDate" SortExpression="warrantyEvaluationStausDate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="sourceProid" HeaderText="sourceProid" SortExpression="sourceProid" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="sourceProjectId" HeaderText="sourceProjectId" SortExpression="sourceProjectId" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="sourceProjectName" HeaderText="sourceProjectName" SortExpression="sourceProjectName" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="equipmentManage" HeaderText="equipmentManage" SortExpression="equipmentManage" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="sid" HeaderText="sid" SortExpression="sid" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="confirmDateWarn" HeaderText="confirmDateWarn" SortExpression="confirmDateWarn" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="wasteCount" HeaderText="wasteCount" SortExpression="wasteCount" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="realSupplyDate" HeaderText="realSupplyDate" SortExpression="realSupplyDate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="warrantyTime" HeaderText="warrantyTime" SortExpression="warrantyTime" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="settlementTimeWarn" HeaderText="settlementTimeWarn" SortExpression="settlementTimeWarn" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="coordinate" HeaderText="coordinate" SortExpression="coordinate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="deviceproductionstate" HeaderText="deviceproductionstate" SortExpression="deviceproductionstate" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="remark" HeaderText="remark" SortExpression="remark" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="user_id" HeaderText="user_id" SortExpression="user_id" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="supplyPlanType" HeaderText="supplyPlanType" SortExpression="supplyPlanType" ItemStyle-HorizontalAlign="Center"  /> 
                            
                            <asp:HyperLinkField HeaderText="详细" ControlStyle-Width="50" DataNavigateUrlFields="supplyPlanId" DataNavigateUrlFormatString="Show.aspx?id={0}"
                                Text="详细"  />
                            <asp:HyperLinkField HeaderText="编辑" ControlStyle-Width="50" DataNavigateUrlFields="supplyPlanId" DataNavigateUrlFormatString="Modify.aspx?id={0}"
                                Text="编辑"  />
                            <asp:TemplateField ControlStyle-Width="50" HeaderText="删除"   Visible="false"  >
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
                                         Text="删除"></asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                </asp:GridView>
               <table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
                <tr>
                    <td style="width: 1px;">                        
                    </td>
                    <td align="left">
                        <asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click"/>                       
                    </td>
                </tr>
            </table>
</asp:Content>
<%--<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceCheckright" runat="server">
</asp:Content>--%>
